package com.lahuan.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lahuan.demo.entity.AccountRmb;
import com.lahuan.demo.entity.FrozeAccountRmb;
import com.lahuan.demo.mapper.AccountRmbMapper;
import com.lahuan.demo.service.AccountRmbService;
import com.lahuan.demo.service.FrozeAccountRmbService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;

/**
* <p>
* rmb账户服务实现类
* </p>
* @author lahuan
* @since 2022-01-02
*/
@DubboService(version = "1.0.0", interfaceClass = AccountRmbService.class, timeout = 5000,protocol = "custom")
public class AccountRmbServiceImpl extends ServiceImpl<AccountRmbMapper, AccountRmb> implements AccountRmbService {

    @Override
    public int testRpc2(int param) {
        System.out.println("testRpc2");
        return param+1;
    }

    @Override
    public String testRpc1(String param) {
        System.out.println("testRpc1");
        return param+" custom";
    }


}
